home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_219 / deepsky / sac50.zoo / pc-install.arc / INSTALL.BAT next >
DOS Batch File  |  1989-05-15  |  1KB  |  52 lines

  1. echo off
  2. rem This program uses ARCE.COM to unarc the SAC50 files
  3. cls
  4.  
  5. if "%2" == "" goto oops1 
  6. if "%1" == "" goto oops1 
  7. if "%1" == "a:" goto flopy 
  8. if "%1" == "A:" goto flopy
  9. if "%1" == "B:" goto flopy
  10. if "%1" == "b:" goto flopy 
  11. goto hardd 
  12.  
  13. :oops1
  14. echo This program needs 2 parameters
  15. echo The Syntax is:
  16. echo    INSTALL [input_path] [output_path] 
  17. goto end
  18.  
  19. :flopy 
  20. echo Put the diskette with SAC50A.ARC in %1
  21. pause
  22. arce %1\sac50a %2 
  23. cls
  24. echo Put the diskette with SAC50B.ARC in %1
  25. pause
  26. arce %1\sac50b %2 
  27. cls
  28. echo Put the diskette with SAC50C.ARC in %1
  29. pause
  30. arce %1\sac50c %2 
  31. cls
  32. echo Put the diskette with SAC50D.ARC in %1
  33. pause
  34. arce %1\sac50d %2 
  35. cls
  36. echo Put the diskette with SAC50E.ARC in %1
  37. pause
  38. arce %1\sac50e %2 
  39. goto last
  40.  
  41. :hardd
  42. arce %1\sac50? %2
  43.  
  44. :last
  45. cls
  46. if "%2" == "a:" goto end
  47. if "%2" == "b:" goto end
  48. echo Now appending the separate files into one large file.
  49. copy %2\sac50b.txt+%2\sac50c.txt+%2\sac50d.txt+%2\sac50e.txt  %2\sac50.txt
  50.  
  51. :end
  52.